#app3{

}

#app3 .square {
    border:5px solid #bed742;
    width: 20vw;
    height: 20vw;
    margin-top: 5%;
    margin-left: 5vw;
    transition: transform 1s;
}   

#app3 .square.active {
    transform:translateX(15vw);
} 
